package com.company.cloud.user.modules.api.request;

import com.company.cloud.common.bean.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class RoleGet2DelRequest extends BaseParam {

    @ApiModelProperty(value = "角色编号", required = true)
    @NotEmpty(message = "角色编号不能为空")
    private String code;

    @ApiModelProperty(value = "操作人用户ID")
    @NotNull(message = "操作人用户ID不能为空")
    private Integer opUserId;

    @ApiModelProperty(value = "操作人操作IP")
    @NotEmpty(message = "操作人操作IP不能为空")
    private String opIp;

}
